Fire Generator Program Run: FireGenerator_FMmod_HistG1-1986-2006_oldFS_log_4.8.13.r

Versioning info:
####################################################################
# AGER FIRE GENERATOR - HISTORICAL CALIBRATION
####################################################################
# Created: 11.1.2011
# Latest Updates: 4.8.2013 (Update: replaced wind direction code)
####################################################################
    ##METHODS:
          # Read MC1 monthly ERC values -- HISTORICAL
          # Generate daily ERC values from monthly values using log std dev using B. Johnson methods
          # Determine the probability of a fire from Preisler smooth surface fit and logit-line
          # Determine the size of the fire from Greenfell splines and exp distribution
          # Determine wind speed and wind direction from Wind Rose Gust data - corrected!
          # Convert the fire size to burn period based Ager calibration data
          # Determine fuel moisture values from regression, and generate fuel moisture files
         ## Implement agricultural/grassland modifications to fuel moisture files ##
          # Create full fire list 
          # Create fire list file with fires > 1 ha
          # Create fire list file with fires > 1 ha AND implement ignition probability switch

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#  INFORMATION YOU NEED TO RUN PROGRAM:
#   1) Set filename path (working directory); place all files in this location (line 66)
#   2) Install necessary packages (lines 61-66) and load libraries (lines 69-71)
#   3) Files: a) monthly MC1 input data file (histmc1ercG_1985-2006.csv)
#             b) historical fire events file (IgnitionProbData.csv)
#             c) historical fire ignitions file (erc-avgfiresize.csv)
#             d) hitorical wind gust file (BrushCreek_WindRose.csv)
#             e) hitorical wind direction file (BrushCreek-WindRose-Summary.csv)
#             f) calibration burn period and windspeed data (new_calibration_firesize_BP_july_2012.csv)
#             g) village creek historical fuel moisture file (villagecrk_fuelmoisture.csv)
#             h) oak knoll historical fuel moisture file (oakknoll_fuelmoisture.csv)
#   4) Start and end dates for historical MC1 monthly data
#   5) Size of the study area, line 218, Eugene = 821 sq km
#   6) Set location to output fuel moisture files, see line 650
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Climate model: Historical, 1985-2006
Future ERC Data: log ERC Stdv method
Ignition Probability: updated smooth surface and logit-line
Fire Size: Greenfell smooth spline with data averaged by day - original method
Wind speed: Max wind gust
Wind direction: Monthly wind rose
Burn period: Ager Flammap calibration data
Fuel moisture: Ag modifications including new ones created 11/2012